mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 4 May 2024 05:18:23 +0000 (07:18 +0200)
committerGianfranco Costamagna <locutusofborg@debian.org>
Sat, 4 May 2024 05:18:23 +0000 (07:18 +0200)
commit7a62bc300500633011e98e98638eaaca13e03dff
tree1d78ac8fe6ca5f1568b710427f64a0aa59994fce
parent84616fdc7378aab4589846bd082207288d93f65f
mips-force-nomadd4

The MIPS port aims to support the Loongson 3 family of CPUs in addition
of the other MIPS CPUs. On the Loongson 3 family the MADD4 instructions
are fused, while they are not fused on the other MIPS CPUs. In order to
support both, we have to disabled those instructions.

For that, the patch below basically corresponds to the --with-madd4=no
used on the GCC side.

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-force-nomadd4.patch
clang/lib/Basic/Targets/Mips.h
llvm/lib/Target/Mips/MipsSubtarget.cpp